package org.zh.svs.order;


import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.zh.client.config.ZHOpenInit;

import java.util.concurrent.ExecutionException;

@SpringBootApplication
@ComponentScan(value = {"org.zh"})
public class OrderApp {
    public static void main(String[] args) throws JsonProcessingException, ExecutionException, InterruptedException {
        ZHOpenInit.before();
        SpringApplication.run(OrderApp.class, args);
        ZHOpenInit.after(OrderApp.class);
    }
}
